package com.jhhc.FloodForecast.OperationModel.ServiceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jhhc.FloodForecast.OperationModel.Dao.RsvrOpModeMapper;
import com.jhhc.FloodForecast.OperationModel.Pojo.RsvrOpMode;
import com.jhhc.FloodForecast.OperationModel.Service.RsvrOpModeService;


@Service
@Transactional
public class RsvrOpModeServiceImpl implements RsvrOpModeService {

    @Autowired
    private RsvrOpModeMapper rsvrOpModeMapper;


    @Override
    public List<RsvrOpMode> selectAll() {
        // TODO Auto-generated method stub
        return rsvrOpModeMapper.selectAll();
    }

    @Override
    public List<RsvrOpMode> selectById(Integer pid) {
        // TODO Auto-generated method stub
        return rsvrOpModeMapper.selectById(pid);
    }
}
